package com.atguigu.ssyx.acl.service;

import com.atguigu.ssyx.model.acl.RolePermission;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * @author ZhangYK
 * @version 8.0
 * @title RolePermissionService
 * @description
 * @create 2024/7/6 15:16
 */
public interface RolePermissionService extends IService<RolePermission> {
    /**
     * 为角色分配菜单权限
     * @param roleId
     * @param permissionId
     */
    void doAssignByRole(Long roleId, Long[] permissionId);
}
